﻿// Write a boolean expression that checks for given integer if it can be divided (without remainder)
// by 7 and 5 in the same time.

using System;

class BoolCheckIntDivided5and7
{
    static void Main()
    {
        Console.Write("Enter number to check: ");
        int number = int.Parse(Console.ReadLine());
        if ((number % 5 == 0) && (number % 7 == 0))
        {
            Console.WriteLine("Your number can be divided by 5 and 7 without remainder.");
        }
        else
        {
            Console.WriteLine("Your number cannot be divided by 5 and 7 without remainder.");
        }
    }
}
